<%@page import="com.gw.business.common.constant.GlobalConstant"%>
<%@page import="com.gw.platform.global.Global"%>
<%@page import="com.gw.platform.util.DateUtils"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html>
<head>
<title>用户追踪统计系统</title>
<%@ include file="/WEB-INF/view/commons/meta.jsp"%>
<link rel="shortcut icon" type="image/x-icon" href="${ctx}/resources/images/favicon.ico" />
<link
	href="${ctx}/resources/dwz/themes/default/style.css"
	rel="stylesheet" type="text/css" media="screen" />
<link href="${ctx}/resources/dwz/themes/css/core.css"
	rel="stylesheet" type="text/css" media="screen" />
<link
	href="${ctx}/resources/dwz/themes/css/print.css"
	rel="stylesheet" type="text/css" media="print" />
<link
	href="${ctx}/resources/dwz/uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" media="screen" />
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->

<!--[if lte IE 9]>
<script src="${ctx}/resources/dwz/js/speedup.js" type="text/javascript"></script>
<![endif]-->

<script src="${ctx}/resources/dwz/js/jquery-1.7.2.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/jquery.cookie.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/jquery.validate.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/jquery.bgiframe.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/xheditor/xheditor-1.2.1.min.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/xheditor/xheditor_lang/zh-cn.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/uploadify/scripts/jquery.uploadify.js"
	type="text/javascript"></script>

<!-- svg图表  supports Firefox 3.0+, Safari 3.0+, Chrome 5.0+, Opera 9.5+ and Internet Explorer 6.0+ -->


<script src="${ctx}/resources/dwz/js/dwz.core.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.util.date.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.validate.method.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.barDrag.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.drag.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.tree.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.accordion.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.ui.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.theme.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.switchEnv.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.alertMsg.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.contextmenu.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.navTab.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.tab.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.resize.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.dialog.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.dialogDrag.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.sortDrag.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.cssTable.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.stable.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.taskBar.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.ajax.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.pagination.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.database.js"
	type="text/javascript"></script>
<script
	src="${ctx}/resources/dwz/js/dwz.datepicker.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.effects.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.panel.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.checkbox.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.history.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.combox.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/dwz/js/dwz.print.js"
	type="text/javascript"></script>
<script src="${ctx}/resources/scripts/highchart/highcharts.js"
	type="text/javascript"></script>
	<script src="${ctx}/resources/scripts/highchart/exporting.js"
	type="text/javascript"></script>
<!-- 可以用dwz.min.js替换前面全部dwz.*.js (注意：替换是下面dwz.regional.zh.js还需要引入)
<script src="${ctx}/resources/dwz/bin/dwz.min.js" type="text/javascript"></script>
-->
<script
	src="${ctx}/resources/dwz/js/dwz.regional.zh.js"
	type="text/javascript"></script>

<script type="text/javascript">
$(function(){
	DWZ.init("${ctx}/resources/dwz/dwz.frag.xml", {
//		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
		loginUrl:"login",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		keys: {statusCode:"statusCode", message:"message"}, //【可选】
		ui:{hideMode:'offsets'}, //【可选】hideMode:navTab组件切换的隐藏方式，支持的值有’display’，’offsets’负数偏移位置的值，默认值为’display’
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});

</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo">标志</a>
				<ul class="nav">
					<li><a>当前用户： <%=GlobalConstant.getSessionUser().getUserName()%></a></li>
					<li><a>登录时间： <%=DateUtils.getCurrentTime()%></a></li>
					<li><a onclick="logout()"  href="#">[ 安全退出 ]</a></li>
				</ul>
			</div>

			<!-- navMenu -->

		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>菜单列表</h2>
					<div>收缩</div>
				</div>

				<div class="accordion" fillSpace="sidebar">

					<c:forEach var="menu1" items="${systemMenu}">
						<div class="accordionHeader">
							<h2>${menu1.text}</h2>
						</div>
						<div class="accordionContent">
							<ul class="tree">
								<c:forEach var="menu2" items="${menu1.item}">
									<li><a href="${ctx}/${menu2.url}"
										target="navTab" rel="list_${menu2.id}">${menu2.text}</a></li>
								</c:forEach>
							</ul>
						</div>
					</c:forEach>
				</div>
			</div>
		</div>

		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab" style="left: 0px;">
							<li tabid="main" class="main selected"><a
								href="javascript:;"><span><span class="home_icon">首页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>

				<ul class="tabsMoreList" style="display: none;">
					<li class="selected"><a href="javascript:;">首页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox"
					style="height: 831px;">
					<div class="page unitBox">
				
					<jsp:include page="/staticChart/page"></jsp:include>
					</div>

				</div>
			</div>
		</div>

		
	</div>

	<div id="footer">
		Copyright &copy; 2015 <a>深圳市盖威科技有限公司</a>
	</div>

	<!-- 注意此处js代码用于google站点统计，非DWZ代码，请删除 -->
	<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16716654-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? ' https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
	<script type="text/javascript">
	
	function logout(){
	
  		if(confirm("您确认退出吗？")){
  			parent.location.href="${ctx}/system/logout";
			}
			return false;
		}
	</script>
</body>
</html>
